using System;

namespace NUnit.Behave
{
    public class I_Want_Conjunction : NarrativeConjunction
    {
        private So_That_Conjunction so_That_Conjunction;

        public I_Want_Conjunction(string what_does_the_user_want) : 
            base(what_does_the_user_want) 
        {
			WriteConsoleMessage(MessageType.Story_I_Want);
        }

       /// <summary>
		/// What is the business value of implementing this feature?
       /// </summary>
       /// <param name="provide_some_type_of_business_value">business value provided</param>
       /// <returns></returns>
		public So_That_Conjunction So_that(string provide_some_type_of_business_value)
        {
            so_That_Conjunction = new So_That_Conjunction(provide_some_type_of_business_value);
            return so_That_Conjunction;
        }

        public override void RenderTo(IMessageProvider messageProvider)
        {
            messageProvider.AddMessage(MessageType.Story_I_Want, message);
            so_That_Conjunction.RenderTo(messageProvider);
        }
    }
}